package com.xinqi.xinqidev.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author xin麒
 * @date 2023/12/25 11:58
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)//https://blog.csdn.net/sunnyzyq/article/details/119992746
@TableName("question_answer_log")
public class QuestionAnswerLog  implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    private String question;

    private String answer;

    /**
     * 创建时间
     */
    private Timestamp createTime;

    /**
     * 状态，0：正常，1：回答异常
     */
    private Boolean isExistException;

    private String sId;

}
